<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('年份')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select class="form-control" name="row[year]">
                <?php foreach($years as $v){ ?>
                <option value="{$v}" <?php if($v == $row['year']){ echo "selected"; }?>>{$v}</option>
                <?php } ?>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Early_warning')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-early_warning" class="form-control" step="0.01" name="row[early_warning]" type="number" value="{$row.early_warning|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
